<template>
  <div>
    <nav-bar title="发放记录"></nav-bar>
    <div class="maxinBox">
      <div class="backgroundfff">
        <van-row class="costLiveData" @click="getDetails(item)" v-for="(item,index) in costLiveList" :key="index">
          <van-col :span="24">
            <van-row class="fontSize16" style="color: #333;">
              <van-col :span="19">
                <div class="fontSize14">发放时间：{{item.date}}</div>
                <div class="fontSize14">对应月份：{{item.month}}月</div>
                <div class="fontSize14">发放金额：{{item.money}}元</div>
              </van-col>
              <van-col :span="5" style="text-align: right;">
                <span v-if="item.status">已发放</span>
                <span v-else style="color: #f00;">已撤回</span>
              </van-col>
            </van-row>
          </van-col>
        </van-row>
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        costLiveList: [
          {
            date: '2020-12-07',
            month: '4',
            money: '300',
            status: 1
          },
          {
            date: '2020-12-07',
            month: '10',
            money: '587',
            status: 0
          },
          {
            date: '2020-12-07',
            month: '9',
            money: '975',
            status: 1
          },
          {
            date: '2020-12-07',
            month: '8',
            money: '1300',
            status: 0
          },
          {
            date: '2020-12-07',
            month: '2',
            money: '3000',
            status: 1
          },
          {
            date: '2020-12-07',
            month: '5',
            money: '432',
            status: 0
          }
        ]
      }
    },
    methods: {

    },
    mounted() {

    }
  }
</script>
<style scoped lang="scss">
  .costLiveData{
    padding: 0.9375rem;
    font-size: 0.875rem;
    border-bottom: 0.0625rem solid #E5E5E5;
  }
</style>
